<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>客户信息管理平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="pi.ico"/>
</head>
<body STYLE="background-color: black;color: coral">
<center>
<h1>欢迎来到 hibernate-spring-springMVC的世界</h1>
<form action="login.do" method="post">
    <table>
        <c:if test="${sessionScope.responseInfo.result !='0'}">
            <tr>
                <td colspan="2" style="color: #ff0a05">${sessionScope.responseInfo.message}</td>
            </tr>
        </c:if>
        <tr>
            <td><spring:message code="user.username"></spring:message> </td><td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td><spring:message code="user.passwd"></spring:message></td><td><input type="password" name="passwd"></td>
        </tr>
        <tr>
            <td><input type="submit" value="登录"></td><td><input type="reset" value="重置"></td>
        </tr>
    </table>
</form>
</center>
</body>
</html>
